package com.xq.pay;

import java.util.Map;

/**
 * @Author： XQ
 * @Description： 测试支付
 * @Created-Date：2020年10月02日 14时22分11秒
 */
public class TestPay {
    public static void main(String[] args) {
        String outTradeNo = "DQ3869956789C9";
        String subject = "医疗管理系统支付平台";
        String totalAmount = "80";
        String undiscountableAmount = null;
        String body = "买药用的";
        String notifyUrl = "http://32a0499x88.qicp.vip/pay/callback/" + outTradeNo;
        Map<String, Object> pay = PayService.pay(outTradeNo, subject, totalAmount,
                undiscountableAmount, body, notifyUrl);
        System.out.println(pay);
    }
}
